package com.fast.manager.system.domain;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

public class Menu implements Serializable{
	private static final long serialVersionUID = 1L;

	private Long id;

    private Long pid;

    private String category;

    private String code;

    private String fullName;

    private String location;

    private String iconCls;

    private String target;

    private Integer level;

    private Integer isexpand;

    private Integer enabled;
    
    private Boolean defaultSelect;

    private Integer sortCode;

    private String remark;

    private Date createTime;

    private Long createUserId;

    private String createUserName;

    private Date modifyTime;

    private Long modifyUserId;

    private String modifyUserName;
    
    
    /*******************业务属性*********************/
    private List<Permit> permits ;
    
    private List<Menu> children ;
    
    private String text ;
    
    private String href ;
    
    //菜单权限ID集
    private String permitIds ;
    
    public List<Permit> getPermits() {
		return permits;
	}

	public void setPermits(List<Permit> permits) {
		this.permits = permits;
	}

	public String getPermitIds() {
		return permitIds;
	}

	public void setPermitIds(String permitIds) {
		this.permitIds = permitIds;
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public String getHref() {
		return href;
	}

	public void setHref(String href) {
		this.href = href;
	}

	public List<Menu> getChildren() {
		return children;
	}

	public void setChildren(List<Menu> children) {
		this.children = children;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getPid() {
        return pid;
    }

    public void setPid(Long pid) {
        this.pid = pid;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category == null ? null : category.trim();
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code == null ? null : code.trim();
    }

    public String getFullName() {
		return fullName;
	}

	public void setFullName(String fullName) {
		this.fullName = fullName;
	}

	public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location == null ? null : location.trim();
    }

    public String getIconCls() {
        return iconCls;
    }

    public void setIconCls(String iconCls) {
        this.iconCls = iconCls == null ? null : iconCls.trim();
    }

    public String getTarget() {
        return target;
    }

    public void setTarget(String target) {
        this.target = target == null ? null : target.trim();
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public Integer getIsexpand() {
        return isexpand;
    }

    public void setIsexpand(Integer isexpand) {
        this.isexpand = isexpand;
    }

    public Integer getEnabled() {
        return enabled;
    }

    public Boolean getDefaultSelect() {
		return defaultSelect;
	}

	public void setDefaultSelect(Boolean defaultSelect) {
		this.defaultSelect = defaultSelect;
	}

	public void setEnabled(Integer enabled) {
        this.enabled = enabled;
    }

    public Integer getSortCode() {
        return sortCode;
    }

    public void setSortCode(Integer sortCode) {
        this.sortCode = sortCode;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(Long createUserId) {
        this.createUserId = createUserId;
    }

    public String getCreateUserName() {
        return createUserName;
    }

    public void setCreateUserName(String createUserName) {
        this.createUserName = createUserName == null ? null : createUserName.trim();
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public Long getModifyUserId() {
        return modifyUserId;
    }

    public void setModifyUserId(Long modifyUserId) {
        this.modifyUserId = modifyUserId;
    }

    public String getModifyUserName() {
        return modifyUserName;
    }

    public void setModifyUserName(String modifyUserName) {
        this.modifyUserName = modifyUserName == null ? null : modifyUserName.trim();
    }
}